package com.example.provider;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Gao
 * @date 2021/7/15
 */
@FeignClient(value = "bling-service-fts")
public interface FeignClientService {

    /**
     * 测试
     * @param id
     * @return
     */
    @RequestMapping(value = "/echo/{id}", method = RequestMethod.GET)
    String test(@PathVariable(value = "id") String id);

}
